<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
</head>
<body>
<a href="04打开关闭窗口.html">跳转</a>
<button>前进</button>
<script type="text/javascript">
	
	//history 历史记录
	// 前进后退

	//前进
	let btn = document.querySelector('button')
	btn.onclick = function() {
		// history.forward()
		histor.go(1)
	}

	//页面后退
	// history.back()
</script>
</body>
</html>